/**
 * 
 */
package br.srv.full.postalservices.faces.components.facelets;

import java.io.IOException;

import javax.el.ELException;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.sun.facelets.FaceletContext;
import com.sun.facelets.FaceletException;
import com.sun.facelets.tag.TagHandler;
import com.sun.facelets.tag.jsf.ComponentConfig;

/**
 * @author Carlos Delfino
 *
 */
public class LocaleTagHandler extends TagHandler{

	private final Log log = LogFactory.getLog(getClass());
	
	public LocaleTagHandler(ComponentConfig p_config){
		super(p_config);
	} 

	/* (non-Javadoc)
	 * @see com.sun.facelets.FaceletHandler#apply(com.sun.facelets.FaceletContext, javax.faces.component.UIComponent)
	 */
	@Override
	public void apply(FaceletContext p_arg0, UIComponent p_arg1) throws IOException, FacesException, FaceletException,
			ELException {
		// TODO Auto-generated method stub
		log.info(p_arg0);
		log.info(p_arg1);
	}

}
